|
|
| File Information |
| Description |
These functions draw horizontal or vertical lines at specified places on the current axes. The axes are automatically held for the drawing of the lines, and restored to their previous 'hold' states afterwards. THe HandleVisibility of the new lines is "off" so that they don't appear on legends. (Incidentally, this also makes them invisible to moveplot.m and addplot.m) Objects with HandleVisibility set to off can be "found" by setting the root object's "ShowHiddenHandles" property to "on". Also, if an output argument is specified, the function will return the handle to the otherwise 'hidden' object.
Further arguments allow the user to set the linetype and color of the line (default is 'r:'), and to add labels. For example:
h = vline(42,'g','The Answer')
will return a handle to a vertical line at x=42 on the current axes, colored green, and with a text label "The Answer" on the axes close to the line, and in the same color of the line.
hline and vline both accept vector inputs. |
| Acknowledgements |
This submission has inspired the following:
data_marker, Advanced hline and vline, MRI Brain Segmentation, Thresholding Tool, Demos from Image Processing Webinar 2006
|
| MATLAB release |
MATLAB 6.0 (R12)
|
| Other requirements |
Tested on Win 98 and 2K.
Functionality is not dependent on Matlab R12. |
| Zip File Content |
|
| Other Files |
hline.m, vline.m
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (29) |
| 16 Nov 2001 |
Larry Friese
|
|
|
| 23 Jan 2004 |
H Z
|
|
|
| 01 Apr 2004 |
confidential confidential
|
|
|
| 21 Sep 2004 |
Wolfgang Stiegmaier
|
|
|
| 20 Oct 2004 |
Nahur Fonseca
|
|
|
| 27 Oct 2004 |
Stephen Sester
|
|
|
| 17 Nov 2004 |
Mike Jennings
|
|
|
| 14 Jan 2005 |
Kedar Patel
|
|
|
| 20 Jan 2005 |
James Tedd
|
|
|
| 03 Feb 2005 |
Min Poh
|
|
|
| 04 Feb 2005 |
Krishna Pillai
|
|
|
| 11 Apr 2005 |
Dimitri Shvorob
|
|
|
| 14 Jul 2005 |
Andy N.
|
|
|
| 03 Oct 2005 |
Chris H
|
|
|
| 20 Nov 2005 |
carlo murgia
|
|
|
| 20 Mar 2006 |
Felix Totir
|
|
|
| 11 Apr 2006 |
Simon B
|
|
|
| 06 Jun 2006 |
John D'Errico
|
|
|
| 09 May 2007 |
Josiah Haswell
|
|
|
| 22 Jun 2007 |
Greg L
|
|
|
| 12 Nov 2007 |
nimat r
|
|
|
| 21 May 2008 |
Ben Kang
|
|
|
| 24 Sep 2008 |
B K
|
|
|
| 14 Oct 2008 |
K R
|
|
|
| 23 Mar 2009 |
Storm Zhang
|
|
|
| 21 Apr 2009 |
Zafrir
|
|
|
| 21 Apr 2009 |
Zafrir
|
|
|
| 08 Jul 2009 |
Matteo
|
|
|
| 02 Oct 2009 |
Kevin
|
|
|
|
MATLAB Central Terms of Use
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Terms prior to use.
Contact us at files@mathworks.com